from flask import Flask,render_template

app = Flask(__name__)


@app.route('/')
def hello_world():
    item ={"categories":123}
    return render_template('index.html',item = item, alarm={"alarm":100,"fault":100}, y={"company":100,"dtuCnt":100,"plcCnt":100,"dataCnt":100,"alarm":100})


if __name__ == '__main__':
    app.run()
